const routers = [{
    path: '/',
    meta: {
        title: ''
    },
    component: (resolve) => require(['./views/index.vue'], resolve)
},{
    path: '/main',
    meta: {
        title: ''
    },
    component: (resolve) => require(['./views/main.vue'], resolve),
    children:[
        {
            path: '/main/project',
            component: (resolve) => require(['./views/content/project/myProject.vue'], resolve),
        },
        {
            path: '/main/workspace',
            component: (resolve) => require(['./views/content/workspace.vue'], resolve),
        },
        {
            path: '/main/new',
            component: (resolve) => require(['./views/content/project/newProject.vue'], resolve),
        },
        {
            path: '/main/edit',
            component: (resolve) => require(['./views/content/project/editProject.vue'], resolve),
        },
        {
            path: '/main/mag',
            component: (resolve) => require(['./views/content/project/projectMag.vue'], resolve),
        },
        {
            path: '/main/party',
            component: (resolve) => require(['./views/content/project/partyEdit.vue'], resolve),
        },
        {
            path: '/main/data',
            component: (resolve) => require(['./views/content/data.vue'], resolve),
        },
        {
            path: '/main/plugins',
            component: (resolve) => require(['./views/content/plugins.vue'], resolve),
        },
        {
            path: '/main/doc',
            component: (resolve) => require(['./views/content/document.vue'], resolve),
        }
    ]
}];
export default routers;